<template>
  <div id="app">
    <btn :btnArr="btnArr"/>
  </div>
</template>

<script>
import Btn from './components/button'
export default {
  name: 'App',
  data () {
    return {
      btnArr: [
        {
          type: 'play',
          name: '播放'
        },
        {
          type: 'comment',
          name: '评论'
        },
        {
          type: 'danmu',
          name: '弹幕'
        },
        {
          type: 'zan',
          name: '点赞'
        },
        {
          type: 'share',
          name: '分享'
        },
        {
          type: 'coin',
          name: '硬币'
        },
        {
          type: 'collect',
          name: '收藏'
        },
        {
          type: 'ele',
          name: '充电'
        }
      ]
    }
  },
  components: {
    Btn
  }
}
</script>

<style>
#app {
  font-family: Avenir, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-align: center;
  color: #2c3e50;
  margin-top: 60px;
}
</style>
